package ooday02;

public class OverideDemo {
    public static void main(String[] args) {
        Student student=new Student("Lrx",21,"北京","jsd2407","001");
        student.sayHi();
        Teacher teacher=new Teacher("Lrx",21,"北京","2000");
        teacher.sayHi();
        Doctor doctor=new Doctor("Lrx",21,"北京","主任");
        doctor.sayHi();

    }
}
